import {onMounted, onUnmounted} from "vue";
import {AActor} from "@/libs/AActor";
import {Atlas} from "@/common/Spacial/components/Atlas/index";

class Spacial extends AActor {
    public constructor() {
        super()
    }
    public atlas = new Atlas(this)
// 返回响应式变量
    public InitStates(): Record<any, any> {

        return {}
    }

    // 监听watch
    public InitHooks() {

    }

    public Run() {
        onMounted(() => {

        })
        onUnmounted(() => {
            this.Destroy()
        })
    }

    protected Destroy() {

    }
}

export {Spacial}